rough code in C :
client.c
sock1 = socket(..);
connect();
while(1)
{
printf("enter your message");
fgets();
write(sock1);
read();
}
server.c
socket();bind();listen;
sock2=accept();
while(1){
read();
printf("enter your message");
fgets();
write();
}
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(73)
-
▼
November
(14)
- Microsoft Excel : copying the same data to Other c...
- Converting xlsx file to xls file
- Chromatic Polynomial
- Enabling hibernate option in Windows XP
- Chromatic Polynomial
- displaying newline space etc in vim
- Problem :Hi,I use a tablet PC(IBM) to teach my cla...
- A simple TCP/IP chat application
- Echo server/client using tcp/ip sockets in c
- A bunch of c files for file transfer using tcp/ip ...
- Achieving Mathematical Proofs Via Computers
- Tower of hanoi non recursive program in C
- The DSA(data structures and algoritms" course at MIT
- The "Compilers" course at MIT
-
▼
November
(14)
No comments:
Post a Comment