Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "winsock2.h"
- #include <stdio.h>
- #include <conio.h>
- #include "iostream.h"
- #include "fstream.h"
- class WComm
- {
- public:
- WComm();
- void connectServer(char*,int);
- int sendData(char*);
- int recvData(char*,int);
- void fileSend(char*);
- void fileReceive(char*);
- void startServer(int);
- void waitForClient();
- void closeConnection();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement