Changeset 1367 for trunk/src


Ignore:
Timestamp:
Oct 20, 1999, 3:18:31 AM (26 years ago)
Author:
phaller
Message:

Add: reimplementation of WSA sockets

Location:
trunk/src/wsock32
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/notify.cpp

    r518 r1367  
    1 /* $Id: notify.cpp,v 1.3 1999-08-16 20:18:39 phaller Exp $ */
     1/* $Id: notify.cpp,v 1.4 1999-10-20 01:18:30 phaller Exp $ */
    22
    33/*
     
    3131typedef unsigned long TID;
    3232
    33 typedef struct AsyncStatus {
    34     HWND hwnd;     // owner's hwindow
    35     u_int msg;     // message to send when event occurs
    36     ULONG event;    // event that may occur
    37     SOCKET socket; // the socket
    38     int status;    // blocking yes/no
    39     TID threadID;  // Thread ID for async
    40     int MsgStat;   // has message been sent yet?
     33typedef struct AsyncStatus
     34{
     35    HWND   hwnd;              // owner's hwindow
     36    u_int  msg;               // message to send when event occurs
     37    ULONG  event;             // event that may occur
     38    SOCKET socket;            // the socket
     39    int    status;            // blocking yes/no
     40    TID    threadID;          // Thread ID for async
     41    int    MsgStat;           // has message been sent yet?
    4142    struct AsyncStatus *Next; // pointer to next AsyncStatus in the list
    4243    struct AsyncStatus *Prev; // pointer to previous AsyncStatus in the list
  • trunk/src/wsock32/unknown.cpp

    r518 r1367  
    1 /* $Id: unknown.cpp,v 1.2 1999-08-16 20:18:40 phaller Exp $ */
     1/* $Id: unknown.cpp,v 1.3 1999-10-20 01:18:30 phaller Exp $ */
    22
    33/*
     
    4646                             int*,   lpiArg6)
    4747{
    48   dprintf(("WSOCK32: OS2rexec not implemented correctly.\n"));
     48  dprintf(("WSOCK32: rexec not implemented correctly.\n"));
    4949
    5050  return rexec(lppArg1,
  • trunk/src/wsock32/wsock32.cpp

    r518 r1367  
    1 /* $Id: wsock32.cpp,v 1.4 1999-08-16 20:18:40 phaller Exp $ */
     1/* $Id: wsock32.cpp,v 1.5 1999-10-20 01:18:31 phaller Exp $ */
    22
    33/*
     
    489489      return as;
    490490
    491   return 0;
     491  return NULL;
    492492}
    493493
Note: See TracChangeset for help on using the changeset viewer.