I would like to be able to make a program to send messages across our network. Anyone know how to do this?
This is a discussion on Net Send Programs within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I would like to be able to make a program to send messages across our network. Anyone know how to ...
I would like to be able to make a program to send messages across our network. Anyone know how to do this?
heres a tutorial on sockets:
http://www.ecst.csuchico.edu/~beej/guide/net/
+++
++
+ Sekti
++
+++
this is jsut an example - im sure you dont have some guy named joe shmoe on a computer named cis10... if you do.... have a cookieCode:// include files and skip to body cout<<"Who would you like to send to?"; char name(50); cin>>name; switch(name){ case "John Doe": name = "cis09"; break; case "Joe Shmoe": name = "cis10"; break; default: cout<<"No user by this name"; cin>>name; cout<<""; return 0; } cout<<"\nType the message(under 950 chars):"; char message(950); cin>>message; int netsend1 = strlen(name); int netsend2 = strlen(message); char netsend[netsend1 + netsend2 + 10] strcpy(netsend, "net send "); strcat(netsend, name); strcat(netsend, message); system(netsend);
..........
fine...... dont thank me......
.........
.....*cries and runs into room*
just to add this URL
here is how it looks
http://www.ariolic.com/images/netsend_shot.gif
Just use CGI or something. All you need to know is the HTML transmission conventions. Yahoo.com has some pretty nifty algorithms.