Advertisement
Guest User

Untitled

a guest
May 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include "winsock2.h"
  2. #include <stdio.h>
  3. #include <conio.h>
  4. #include "iostream.h"
  5. #include "fstream.h"
  6.  
  7.  
  8. class WComm
  9. {
  10.  
  11. public:
  12.  
  13. WComm();
  14.  
  15. void connectServer(char*,int);
  16. int sendData(char*);
  17. int recvData(char*,int);
  18. void fileSend(char*);
  19. void fileReceive(char*);
  20. void startServer(int);
  21. void waitForClient();
  22. void closeConnection();
  23. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement