Thread View: borland.public.cppbuilder.internet.socket
5 messages
5 total messages
Started by Pedram
Mon, 16 Aug 2004 19:54
Listening at a Port
Author: Pedram
Date: Mon, 16 Aug 2004 19:54
Date: Mon, 16 Aug 2004 19:54
5 lines
905 bytes
905 bytes
Hi Without any attention to IP adress , I need to know how can I make a software to listen at a port number ... Let me hear your suggestions thx
Re: Listening at a Port
Author: Remy Lebeau (TeamB)
Date: Mon, 16 Aug 2004 20:51
Date: Mon, 16 Aug 2004 20:51
15 lines
1379 bytes
1379 bytes
"Pedram" <nover@hever.sever> wrote in message news:4121101b@newsgroups.borland.com... > Without any attention to IP adress , I need to know > how can I make a software to listen at a port number ... You can't just listen on an arbitrary port without specifying an IP as well, even if it is "0.0.0.0" to bind to all available IP addresses. With that said - what exactly are you trying to accomplish? What actual server component are you using? OR are you doing raw socket programming? Gambit
Re: Listening at a Port
Author: Pedram
Date: Tue, 17 Aug 2004 03:13
Date: Tue, 17 Aug 2004 03:13
28 lines
1731 bytes
1731 bytes
Thx For your reply 1-Exactly I want to write two softwares , one client and one server I was using TNMMsg (FastNet)[BCB5] but problem is My Server need to Broadcast a msg is it possible? 2-I dont know what raw-sockert programings means , where can I talk-n-learn about it? Remy Lebeau (TeamB) wrote in message <41211e01$1@newsgroups.borland.com>... > >"Pedram" <nover@hever.sever> wrote in message >news:4121101b@newsgroups.borland.com... > >> Without any attention to IP adress , I need to know >> how can I make a software to listen at a port number ... > >You can't just listen on an arbitrary port without specifying an IP as well, >even if it is "0.0.0.0" to bind to all available IP addresses. > >With that said - what exactly are you trying to accomplish? What actual >server component are you using? OR are you doing raw socket programming? > > >Gambit > >
Re: Listening at a Port
Author: Remy Lebeau (TeamB)
Date: Tue, 17 Aug 2004 03:42
Date: Tue, 17 Aug 2004 03:42
13 lines
1285 bytes
1285 bytes
"Pedram" <nover@hever.sever> wrote in message news:412177eb@newsgroups.borland.com... > I want to write two softwares , one client and one server I > was using TNMMsg (FastNet)[BCB5] but problem is > My Server need to Broadcast a msg So what is the actual problem? What kind of broadcast are you referring to exactly? Gambit
Re: Listening at a Port
Author: Pedram
Date: Tue, 17 Aug 2004 07:30
Date: Tue, 17 Aug 2004 07:30
21 lines
1380 bytes
1380 bytes
Excacty I dont know where should I start ! :-\
I dont know much about Broadcasting ...
in Server app:
Component->Host=MyComputerHost;
Component->Message="Message To Broadcast";
Component->Connect();
Component->Send();//Or Component->Broadcast();
Component->Disconnect()
For example , and in Client
Component->Listen();
Component::OnMessage(AnsiString &Msg){
ShowMessage(Msg);
}
But they are only stupid psodo code
Please tell me where can I start :-) thx Gambit.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads