(TcpInPort _run_loop, _run_loop_mode): New ivars.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1113 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-03-12 14:57:08 +00:00
parent 0b83e5b725
commit d2e640c43b
2 changed files with 8 additions and 0 deletions

View file

@ -26,6 +26,7 @@
#include <objects/stdobjects.h>
#include <objects/Port.h>
#include <objects/RunLoop.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
@ -41,6 +42,9 @@
fd_set active_fd_set;
NSMapTable *client_sock_2_out_port;
NSMapTable *client_sock_2_packet;
/* The RunLoop with which our file descriptors are registered. */
id _run_loop;
id _run_loop_mode;
}
+ newForReceivingFromPortNumber: (unsigned short)n;

View file

@ -26,6 +26,7 @@
#include <objects/stdobjects.h>
#include <objects/Port.h>
#include <objects/RunLoop.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
@ -41,6 +42,9 @@
fd_set active_fd_set;
NSMapTable *client_sock_2_out_port;
NSMapTable *client_sock_2_packet;
/* The RunLoop with which our file descriptors are registered. */
id _run_loop;
id _run_loop_mode;
}
+ newForReceivingFromPortNumber: (unsigned short)n;