We help IT Professionals succeed at work.

Howto use Sockets in D3

kimfriis
kimfriis asked
on
Medium Priority
237 Views
Last Modified: 2010-04-04
I am trying to make a small chat program in Delphi 3 using sockets, or that is, there is allready one provided with Delphi 3 but I am trying to extend it so that I can send a bitmap over using the TWinSocketStream, but it is kind of hard to get some example code on how to work that thing, so if anybody would be so kind as to show me how, I would be most gracefull.
Eg. just sending a file using a TFileStream would be nice.
Comment
Watch Question

Commented:
I'd suggest you to have dWinsock component for Delphi. This is pack of excellent winsock components and also have lots of examples (file sending is made as procedure so you don't have to program it yourself). The home page of dWinsock is http://www.aait.com/dwinsock/

hope it helps
Eriks
 

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks I tried out the dWinsock components and they look easy to use.
It was not a answer to my question but a surgestion so therefor only 50 points.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.