Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Socket in API program

Posted on 2001-06-21
3
Medium Priority
?
250 Views
Last Modified: 2013-11-13
Hello

I need to write a program that uses Sockets to sends
string line and recieves that string line with
the word " - arrived" in the end.

I dont want to use The WinSock Component of VB,
I want to use a pure API for the sockets .

Have a magical day ...

Thanks
0
Comment
Question by:JOKER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 6213340
0
 

Author Comment

by:JOKER
ID: 6213761
I need something simplier, that just sending and
recieving string line.

thanks
0
 
LVL 5

Accepted Solution

by:
gbaren earned 900 total points
ID: 6216642
Joker,

Using the Winsock API from VB isn't all that simple. Lots of pointers flying about. Here is a reference you might consider:

http://david90.freeservers.com/tutorial/tcp.htm

gbaren
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question