[BACK]Return to mysocket.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/mysocket.c between version 1.5 and 1.6

version 1.5, 2000/11/30 16:07:35 version 1.6, 2000/12/01 16:31:11
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/mysocket.c,v 1.4 2000/10/10 05:23:20 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/mysocket.c,v 1.5 2000/11/30 16:07:35 ohara Exp $ */
 /*  /*
 Q: How to get a local port number?  Q: How to get a local port number?
 A: You do setsockopt() to set options and do socket(), bind().  A: You do setsockopt() to set options and do socket(), bind().
Line 32  typedef struct ox_sockopt {
Line 32  typedef struct ox_sockopt {
     int       level;      int       level;
     int       option_name;      int       option_name;
     void*     option_value;      void*     option_value;
     socklen_t option_len;      int       option_len;
 } ox_sockopt;  } ox_sockopt;
   
 static int getsocket(struct sockaddr_in *mp, char *host, int port)  static int getsocket(struct sockaddr_in *mp, char *host, int port)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>