/[gcl]/gcl/o/sockets.c
ViewVC logotype

Diff of /gcl/o/sockets.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mjthomas, Mon Jul 7 04:53:57 2003 UTC revision 1.10 by mjthomas, Fri Jul 11 06:58:18 2003 UTC
# Line 123  the socket.  If PORT is zero do automati Line 123  the socket.  If PORT is zero do automati
123        
124    /* Using TCP layer */    /* Using TCP layer */
125    s = socket(PF_INET, SOCK_STREAM, 0);    s = socket(PF_INET, SOCK_STREAM, 0);
126    #ifdef __MINGW32__
127        if ( s == INVALID_SOCKET )  
128    #else    
129    if (s < 0)    if (s < 0)
130    #endif      
131      {      {
132        perror("ERROR !!! socket creation failed in sock_connect_to_name\n");        perror("ERROR !!! socket creation failed in sock_connect_to_name\n");
133        return Cnil;        return Cnil;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26