🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
5 messages
5 total messages Started by Quentin David Jones Wed, 06 Dec 2006 07:07
Socket tutorials for C++Builder ?
#1582
Author: Quentin David Jones
Date: Wed, 06 Dec 2006 07:07
25 lines
1884 bytes
Greetings all,

Thanks for recent help :-)

I've read all I can about sockets and client/server apps in general - I 
understand what listen and accept do etc. But I am still very new to 
C++Builder 6.

So, I am looking for examples of using C++Builder 6 to make a simple server 
app using sockets (rather than ask here every time I hit a snag.)

The Borland book has limited examples, and the various CBuilder books online 
didn't have any simple examples.

I see many examples online using VC, Java, C#, Windows API etc. but they are 
not so useful for learning the way C++Builder uses events (I am using the 
plain old ServerSocket component.)

So,
can someone suggest some examples and tutorials developing a simple socket 
based server using C++Builder specifically?

Thanks,

Quentin
Re: Socket tutorials for C++Builder ?
#1583
Author: Remy Lebeau (TeamB)
Date: Wed, 06 Dec 2006 08:14
11 lines
1376 bytes
"Quentin David Jones" <quentin.jones@romteck.com.spamprotect> wrote in
message news:45766bf4$1@newsgroups.borland.com...

> So, I am looking for examples of using C++Builder 6 to make a simple
> server app using sockets (rather than ask here every time I hit a snag.)

Have you looked at the example projects that ship with BCB yet?


Gambit
Re: Socket tutorials for C++Builder ?
#1585
Author: John Mulvey
Date: Wed, 06 Dec 2006 17:53
16 lines
1643 bytes
"Quentin David Jones" <quentin.jones@romteck.com.spamprotect> wrote in 
message news:45766bf4$1@newsgroups.borland.com...

> So,
> can someone suggest some examples and tutorials developing a simple socket 
> based server using C++Builder specifically?
>

I think you should have a look at the ICS TWSocket component and the 
tutorials and examples on their website http://www.overbyte.be . Once 
installed, they are simple to use, have a number of  good examples which you 
could probably modify to get your server running quickly, and when things go 
wrong they have a helpful user group. --- and no I don't work for them !!!!

John Mulvey 
Re: Socket tutorials for C++Builder ?
#1586
Author: Michel Leunen
Date: Wed, 06 Dec 2006 19:58
20 lines
1783 bytes
Quentin David Jones wrote:

> So, I am looking for examples of using C++Builder 6 to make a simple server 
> app using sockets (rather than ask here every time I hit a snag.)

Look here http://www.tangentsoft.net/wskfaq/
and here http://beej.us/guide/bgnet/ for a downloadable book about 
network programming.

These two sites have examples using pure socket code so they are usable 
with C++Builder.

Michel
-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Re: Socket tutorials for C++Builder ?
#1587
Author: Quentin David Jones
Date: Wed, 06 Dec 2006 23:42
9 lines
1327 bytes
Hi all,

Thanks for those helpful suggestions, will check them out.

Remy - I have done the examples from the QuickStart guide,
but now I see there are more examples in a folder called um, "examples" :-)
Thanks for that tip.

Q.
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