socket programming


I need to do socket programming to connect from a pc application to an as/400 application

can someone pls advice me where shall I start


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Here is a link for a general socket programming tutorial:
The tutorial is well-written, and you can download his sample source. The tutorial is for RPG, but explains the concepts very well.

For Visual Basic socket client, check out:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
there is some freeware at
this will do all the RPG stuff for you.


Are you needing to do _any_ sockets programming on your AS/400? Are you already familiar with sockets programming in general? If "yes & no", then you can probably get a _big_ start by:

...and seeing about getting a copy of their TCP/IP Socket Client APIs stuff. This can be a huge help in working through sockets issues. It provides a bunch of client procedures that are far easier to implement than the sockets APAIs themselves.

When you need to create a full client/server app, you run into a tough obstacle -- You can't really test your client until the server works; you can't really test your server until your client works. Having a solid set of pre-built components can really speed up testing _and_ learning.

IBM doesn't make it easy to download this freeware, but it's definitely worthwhile jumping through their hoops.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.