I need sample code using pb syntax
Main Topics
Browse All TopicsI'm looking for a sample application writtenin pB8 or below that can send a message to a server app also written in pb8 and receive a message back (like a chat server) using TCP/IP and/or UDP protocol. If it uses third party tool like socekt wrench that's ok as long as it's free. I would like the code to be simple and not use complicated winsock api calls.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi lichaa
check these links, they contain pb codes
http://www.cdg.co.th/cps/s
http://www.powerobjects.co
rgrds
gafoor
Hi
the first link
http://www.cdg.co.th/cps/s
contains full code developed in PB only including server,client and proxy
but i think u may not be able to dowload it, bcos now it is showing that the page is not available..
if u didn't get it i can send u the same if u need. for that get me ur e-mail id
that is developed in pb 6 i think.
so if u want it pls get me ur e-mail id...i will send u at earliest
rgrds
gafoor
Are you talking about this one below? It uses server push and shared objects. You can email it to me and I'll see if I can use it but I'm really looking for somthing that does not use shared objects or server push.
stevenl@imsi.com
If anyone else has a basic client and server pb app that just listens to a socket please let me know, Other wise I'll probably just close this issue and split the points soon
These two applications let users exchange information in a public chat room. The client application connects to the server and whenever the user submits some text, it is distributed to all users. The server also notifies users when a new user has logged in or detached.
The application demonstrates 2 major new features in DPB6 - server push and shared objects. In addition, the server app shows a nice feature of Win95 and NT 4.0 - running a window as a system tray icon. In order to restore the window, double-click on the server's system tray icon. When you minimize the window, it is removed from the task bar. Download chat.zip - 801KB
Business Accounts
Answer for Membership
by: namasi_navaretnamPosted on 2003-10-20 at 13:45:52ID: 9586232
This activex object should be usable within PB
products/c omponents/ aspsocketo bjects/
http://www.comsoltech.com/
Namasi