Top "Network-programming" questions

Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

Difference between TCP and UDP?

What is the difference between TCP and UDP? I know that TCP is used in the case of non-time critical …

tcp network-programming udp protocols
How to solve '...is a 'type', which is not valid in the given context'? (C#)

The following code produces the error: Error : 'CERas.CERAS' is a 'type', which is not valid in the given context …

c# .net visual-studio network-programming wmi
TCP: can two different sockets share a port?

This might be a very basic question but it confuses me. Can two different connected sockets share a port? I'm …

sockets tcp network-programming port
socket connect() vs bind()

Both connect() and bind() system calls 'associate' the socket file descriptor to an address (typically an ip/port combination). Their …

c sockets network-programming
Difference between PACKETS and FRAMES

Two words commonly used in networking world - Packets and frames. Can anyone please give the detail difference between these …

networking network-programming
C# An established connection was aborted by the software in your host machine

These errors are getting more and more frequent on my Game Server. They are causing the server to keep closing …

c# sockets network-programming
Comparing HTTP and FTP for transferring files

What are the advantages (or limitations) of one over the other for transferring files over the Internet? (I am aware …

http ftp network-programming file-transfer
How many socket connections can a web server handle?

Say if I was to get shared, virtual or dedicated hosting, I read somewhere a server/machine can only handle 64,000 …

http tcp network-programming hosting tcplistener
UNIX nonblocking I/O: O_NONBLOCK vs. FIONBIO

In every example and discussion I run across in the context of BSD socket programming, it seems that the recommended …

c network-programming unix sockets
Getting the 'external' IP address in Java

I'm not too sure how to go about getting the external IP address of the machine as a computer outside …

java networking network-programming ip-address external