Penguin
Diff: NetworkProgramming
EditPageHistoryDiffInfoLikePages

Differences between version 13 and predecessor to the previous major change of NetworkProgramming.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 13 Last edited on Tuesday, August 5, 2003 4:17:12 am by AristotlePagaltzis Revert
Older page: version 11 Last edited on Sunday, July 28, 2002 12:46:28 am by PerryLorier Revert
@@ -1,5 +1,5 @@
-This is to describe how to write networking programs in [C] using the [BSD] Socket Layer [API]. This mostly applies to almost all other languages with only minor modifications. This is an updated version of the page which is designed to be non-AddressFamily specific, for the old version see NetworkProgrammingOld 
+This is to describe how to write networking programs in [C] using the [BSD] Socket Layer [API]. This mostly applies to almost all other languages with only minor modifications. This is an updated version of the page which is designed to be non-AddressFamily specific, for the old version see NetworkProgrammingOld. SocketAddressing may also be useful.  
  
 !!!General structure for a server setup 
 The various steps of setting up a server are: 
 # Creating a socket of the correct type, with socket(2) 
@@ -159,9 +159,9 @@
  
  int main(int argc,char **argv) 
 
  int clientfd; 
- char buffer[65535]; 
+ char buffer[ [65535]; 
  int length; 
  
  clientfd=create_client_connection("localhost","hello");