ftp.nice.ch/pub/next/developer/resources/classes/tcp_network_objects.N.bs.tar.gz#/distrib/tcp.h

This is tcp.h in view mode; [Download] [Up]

/* TCP Network Objects -- Methods
   by Ian Smith 
   of The Software Engineering Research Center's Multimedia Lab */

@interface network_tcp:Object
{
  int sock;
  int fd;
}

- (int) initialize;
- (int) setup:(int)port;
- (int) receive;
- (int) call:(char *)target onport:(int)port;
- (int) send_text:(char *)string;
- (int) send_data:(void *)data ofsize: (int) size;
- (int) send_file:(char *)fname;
- (int) recv_text:(char *)string;
- (int) recv_data:(void *)data ofsize: (int *)size;
- (int) recv_file:(char *)fname;
- (int) call_waiting;
- (int) data_waiting;
- (int) close_tcp;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.