Solved

Winsock VB Declarations, etc...

Posted on 1997-04-21
2
241 Views
Last Modified: 2013-11-13
I'm using VB3 (16-bit) and I'd like the VB declarations for accept(), listen(), etc... for Winsock 1.1
I'm using MSGBLAST and I have some public source (VBrowser) which contains the numbers used for trapping event and close messages.  (8192, 8193)  These are appropriate for browsing applications such as a web browser, but what would I need for say a finger server?  What calls do I need to make to set up my socket and message trapping with MSGBLAST to get this to work?
0
Comment
Question by:asmcmrr
2 Comments
 
LVL 2

Accepted Solution

by:
weekee earned 50 total points
ID: 1425562
You can go to this site where there is a .bas file for you to download. It will contain the neccessary declarationshttp://www.pconline.com/~markp/It also have instruction on doing connection, sending data, tec
0
 
LVL 1

Author Comment

by:asmcmrr
ID: 1425563

  This isn't exactly what I wanted - I did state that I was using  VB3 (16-bit), and these links deal with VB4 (32-bit).  Even the declarations file is specific to VB4, and VB3 doesn't like it.
The finger client is good, but a finger server "listens" to a port, and this is different than simply sending and receiving data from a socket. (accept() is involved, as is listen())
  There is no server source here, but if you can give me a link to one I'd be grateful.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

827 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