Terminé

Simple VB Winsock API Listen/Accept/Connect

In my application, I am using the [url removed, login to view] to perform simple TCP activity. I would like to get rid of this dependency by replacing my code with VB [url removed, login to view] API code. Here's what I need:

A function that I can call to listen on port 80, binding **only** to the localhost. I need it to accept every incoming connection (multiple, at the same time) and receive data. If this received data contains a specific string, it needs to send back a some text and close the socket (and listen again). Otherwise, it needs to send back a .GIF (attached below).

Second, I need another function that I can call with a port and IP, connect, send data, and process any recieved data before closing.

I need this code to be as **simple and minimal** as possible, yet still remain flexible enought that once I understand how it works, I can modify functionality if needed.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Windows, 9x/me/2000/nt/xp

Compétences : Ingénierie, Microsoft, MySQL, PHP, Architecture Logicielle, Tests de Logiciels, Visual Basic, Bureau Windows

en voir plus : activity connection, simple gif, windows api, tcp socket, simple api work, c++ winsock, API connection, tcp text send, tcp connection close, tcp close connection, basic api, socket binding, program basic string, simple windows form application visual, call connect visual basic, close tcp connection, simple windows data application, simple tcp code, windows localhost, tcp send text

Concernant l'employeur :
( 15 commentaires ) Newport Beach, United States

Nº du projet : #2918813

Décerné à:

DenKar

See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 14 jours
(91 Commentaires)
6.4

5 freelance font une offre moyenne de $31 pour ce travail

harisraheem

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(23 Commentaires)
6.1
sissoftware

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(18 Commentaires)
4.9
sabonzovw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(26 Commentaires)
5.3
deadbird

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(16 Commentaires)
3.3