Penguin
Diff: NetworkProgramming
EditPageHistoryDiffInfoLikePages

Differences between version 14 and revision by previous author of NetworkProgramming.

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

Newer page: version 14 Last edited on Tuesday, February 17, 2004 5:32:17 pm by AristotlePagaltzis Revert
Older page: version 12 Last edited on Tuesday, August 5, 2003 12:30:41 am by MattBrown Revert
@@ -1,4 +1,6 @@
+InNeedOfRefactor  
+  
 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: 
@@ -159,9 +161,9 @@
  
  int main(int argc,char **argv) 
 
  int clientfd; 
- char buffer[65535]; 
+ char buffer[ [65535]; 
  int length; 
  
  clientfd=create_client_connection("localhost","hello");