equal
deleted
inserted
replaced
10 #include <sys/socket.h> |
10 #include <sys/socket.h> |
11 #include <netinet/in.h> |
11 #include <netinet/in.h> |
12 #include <arpa/inet.h> |
12 #include <arpa/inet.h> |
13 #include <netdb.h> |
13 #include <netdb.h> |
14 |
14 |
15 class PacketWriter : PacketReader { |
15 class PacketWriter:PacketReader { |
16 private: |
16 private: |
17 struct sockaddr_in ca; |
17 struct sockaddr_in ca; |
18 |
18 |
19 public: |
19 public: |
20 PacketWriter(char *, int); |
20 PacketWriter (char *, int); |
21 ~PacketWriter(); |
21 ~PacketWriter (); |
22 |
22 |
23 void write(char *s, int); |
23 void write (char *s, int); |
24 bool ready(); |
24 bool ready (); |
25 }; |
25 }; |
26 |
26 |
27 #endif |
27 #endif |
28 |
|