Friday, November 14, 2014

Interview Questions on Socket Programming

Socket programming is used to make computers exchange data. It is an uncommon topic and not many programmers come across it in their professional career.
This blog post outlines several questions which might be asked from someone in an interview for a position that involves either writing code for network applications or managing a team of people writing network programming code.

The questions listed here are worth reading and knowing the answers to these questions in general means you have a sound top level understanding of computer networks work.

It is possible to learn network programming in only one hour, just take the Udemy course given below, it is free for a limited time

1. A host is a machine that is hosting a software capable of communicating over the network. Yes/No?
2. A host is identified by an IP Address which is unique inside a network. Yes/No?
3. In enterprise scenarios, a host name is translated into an IP address by a server called:

  1. DHCP Server
  2. DNS
  3. LDAP Server
4. An IPV 4 IP address is a group of __???__ numbers, each 8 bit in size with a value between 0 to 255.

Demo TCP/IP Sockets Read and Write in C#, Free #Udemy Course, 100% discount from Naeem Akram on Vimeo.

5. We find the IP Address of our computer using a DOS command which is

  1. tracert
  2. ipconfig /all
  3. ipconfig /flushdns
Quick TCP/IP Socket programming for coders is a free course (limited time offer), take the course and learn about socket programming in only one hour.

6. Every computer contains a finite number of ports which is

  1. 1024
  2. 65536
  3. 99999

7. The client process and the server process must be running on two different machines.
8. A pair of an IP address and a port number is used by the server process to listen for incoming connection requests, this pair is called an __???__

9. A client processes's attempt to connect with a server process can fail for various reasons including

  1. Windows firewall has blocked the client process or server process from using the network.
  2. Server IP address supplied to the client is wrong
  3. The server process is not started at all
  4. All of above

10. Telnet is a free utility, it is always enabled on every PC. Yes/No?
11. We will enable Telnet __???__ from the "Add Remove Programs" dialog "Turn Windows features on or off"
Only one hour is all you need to know answers of the questions listed here and get loads of more interesting information about computer networks. The course link given above is free for a limited time, it won't cost you anything and you will learn loads of new stuff so just go ahead and sign-up.

Thursday, November 13, 2014

Learn TCP/IP Socket Programming in 1 hour

Demo TCP/IP Sockets Read and Write in C#, Free Udemy Course from Naeem Akram on Vimeo.

Network programming is a very important topic, it is also considered a bit complicated. Most of the tutorials and lessons already available on the internet tend to make this topic even difficult to learn.
This based online course is totally free for first month, and it makes socket programming using C# really easy.

By taking this free Udemy course, you will be ready to write network communication applications within only one hour!

You will learn a lot of other useful things during this course, for example how to find the IP address of your PC using command prompt and how to use telnet utility.
More techniques such as finding an IP address through a host address and selecting the active IPV4 address of your PC automatically will also be covered in this course soon.
I will also add videos about how to handle multiple client nodes and how to add/remove clients from the list of connected ones as well.

I've uploaded same demo video to Youtube as well.

Please join this course, watch it, and provide your highly valued feedback. It will be very helpful for me.

The author is a professional computer programmer with socket and network programming experience in C++ and C# languages on Windows platform, and same in Java language on Android platform as well.

The author loves to blog, which is evident by the posts in this blog which have been written over the course of six years(on time of this writing). On the side, this author has got a very nice kitchen garden on the roof top and loves to cook delicious Pakistani food as well. Most importantly, I'm a proud and loving father of two children as well :)

So please join this course about TCP/IP socket programming using C#.Net. I am sure it will be helpful and you will learn a lot of very useful programming techniques and some really cool theory.