🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
7 messages
7 total messages Started by Iron Maverickk Tue, 22 Jan 2008 16:54
The old TCP/IP Socket (Client and Server)...
#552
Author: Iron Maverickk
Date: Tue, 22 Jan 2008 16:54
5 lines
1436 bytes
I have just recently purchased the new RAD Studio 2007 C++ Builder and was 
wondering if it came with the old TCP/IP Sockets... I know you had to enable 
them in C++ Builder 2006... They are the same components that use the 
OnRead() function and things like that. If it does, how do I add those 
components to my library?? 
Re: The old TCP/IP Socket (Client and Server)...
#553
Author: Remy Lebeau (TeamB)
Date: Tue, 22 Jan 2008 18:18
21 lines
1505 bytes
"Iron Maverickk" <cdanley@codebyter.com> wrote in message 
news:47961fd2$1@newsgroups.borland.com...

> I have just recently purchased the new RAD Studio 2007
> C++ Builder and was wondering if it came with the old
> TCP/IP Sockets...

Yes, but they are not installed by default anymore as they have been 
deprecated.

> I know you had to enable them in C++ Builder 2006...

The same applies to 2007 as well.

> If it does, how do I add those components to my library??

The same way you had to in 2006 - install the dclsocket*.bpl package.


Gambit 
Re: The old TCP/IP Socket (Client and Server)...
#555
Author: Iron Maverickk
Date: Tue, 22 Jan 2008 19:00
29 lines
1989 bytes
That was the exact thing I was looking for: dclsocket*.bpl.. Thank you! Now, 
one question pertaining to this: Does this socket support the ability to 
send files back and forth between two clients?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:47963337@newsgroups.borland.com...
>
> "Iron Maverickk" <cdanley@codebyter.com> wrote in message 
> news:47961fd2$1@newsgroups.borland.com...
>
>> I have just recently purchased the new RAD Studio 2007
>> C++ Builder and was wondering if it came with the old
>> TCP/IP Sockets...
>
> Yes, but they are not installed by default anymore as they have been 
> deprecated.
>
>> I know you had to enable them in C++ Builder 2006...
>
> The same applies to 2007 as well.
>
>> If it does, how do I add those components to my library??
>
> The same way you had to in 2006 - install the dclsocket*.bpl package.
>
>
> Gambit
> 
Re: The old TCP/IP Socket (Client and Server)...
#556
Author: Remy Lebeau (TeamB)
Date: Tue, 22 Jan 2008 23:34
14 lines
1599 bytes
"Iron Maverickk" <cdanley@codebyter.com> wrote in message 
news:47963d4f$2@newsgroups.borland.com...

> Does this socket support the ability to send files back
> and forth between two clients?

TClientSocket and TServerSocket are the same as they have always been.  They 
only know about memory buffers that you provide.  You have to manage the 
files yourself.  Read a buffer from a file, send it, receive it, write it to 
a file.  That sort of thing.


Gambit 
Re: The old TCP/IP Socket (Client and Server)...
#557
Author: Iron Maverickk
Date: Wed, 23 Jan 2008 03:52
20 lines
2064 bytes
would you happen to know anywhere I could find a good tutorial or sample to 
look over on how to implement the transmission of files?

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:47967d58$1@newsgroups.borland.com...
>
> "Iron Maverickk" <cdanley@codebyter.com> wrote in message 
> news:47963d4f$2@newsgroups.borland.com...
>
>> Does this socket support the ability to send files back
>> and forth between two clients?
>
> TClientSocket and TServerSocket are the same as they have always been. 
> They only know about memory buffers that you provide.  You have to manage 
> the files yourself.  Read a buffer from a file, send it, receive it, write 
> it to a file.  That sort of thing.
>
>
> Gambit
> 
Re: The old TCP/IP Socket (Client and Server)...
#568
Author: Iron Maverickk
Date: Mon, 28 Jan 2008 16:55
26 lines
2078 bytes
bump


"Iron Maverickk" <cdanley@codebyter.com> wrote in message 
news:4796b9fe$1@newsgroups.borland.com...
> would you happen to know anywhere I could find a good tutorial or sample 
> to look over on how to implement the transmission of files?
>
> "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
> news:47967d58$1@newsgroups.borland.com...
>>
>> "Iron Maverickk" <cdanley@codebyter.com> wrote in message 
>> news:47963d4f$2@newsgroups.borland.com...
>>
>>> Does this socket support the ability to send files back
>>> and forth between two clients?
>>
>> TClientSocket and TServerSocket are the same as they have always been. 
>> They only know about memory buffers that you provide.  You have to manage 
>> the files yourself.  Read a buffer from a file, send it, receive it, 
>> write it to a file.  That sort of thing.
>>
>>
>> Gambit
>>
> 
Re: The old TCP/IP Socket (Client and Server)...
#571
Author: Remy Lebeau (TeamB)
Date: Mon, 28 Jan 2008 17:24
15 lines
1710 bytes
"Iron Maverickk" <cdanley@codebyter.com> wrote in message 
news:4796b9fe$1@newsgroups.borland.com...

> would you happen to know anywhere I could find a good tutorial
> or sample to look over on how to implement the transmission of files?

Sockets have no concept of files.  You send files the same way you send any 
other kind of data, which I already told you earlier what to do.  If you 
want actual code snippets, then please go to http://www.deja.com and search 
the newsgroup archives.  There have been tons of socket examples posted 
before.


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