Last change
on this file since 1182 was 1054, checked in by casaldaliga, 23 years ago |
changed .H to .hxx in includes to work with new naming
|
File size:
311 bytes
|
Line | |
---|
1 | #include "TCPSender.hxx"
|
---|
2 | //for signals
|
---|
3 | #include <sigc++/signal_system.h>
|
---|
4 | using namespace SigC;
|
---|
5 | #include <unistd.h> //sleep
|
---|
6 | int main()
|
---|
7 | {
|
---|
8 | TCPSender myClient("ifae-w41.ifae.es",2001);
|
---|
9 | myClient.Reset();
|
---|
10 | while(true){
|
---|
11 | sleep(1);
|
---|
12 | myClient.Send("Hello");
|
---|
13 |
|
---|
14 | }
|
---|
15 |
|
---|
16 | return 0;
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.