Process Hacker
tcp.h
Go to the documentation of this file.
1 #ifndef _TCP_H_
2 #define _TCP_H_
3 
4 #ifdef _MSC_VER
5 #define __attribute__(x)
6 #endif
7 void growl_tcp_write_raw( SOCKET sock, const unsigned char * data, const int data_length );
8 void growl_tcp_write( SOCKET sock , const char *const format , ... ) __attribute__ ((format (printf, 2, 3)));
9 char* growl_tcp_read(SOCKET sock);
10 SOCKET growl_tcp_open(const char* server);
11 void growl_tcp_close(SOCKET sock);
12 int growl_tcp_datagram( const char *server , const unsigned char *data , const int data_length );
13 
14 #endif /* _TCP_H_ */