|
|
|
CSocket class - replacement for the MS Winsock Control
|
Total Hit (5165) |
This is an attempt to simulate functionality and behavior of the MS Winsock ActiveX Control. Why do I call it "an attempt"? Because I don't know what exactly is going on inside that control. I can suppose which Winsock API functions are called by the control's methods but I don't know a lot of other
....Read More |
Rating
|
|
|
|
Listening for and accepting connection requests
|
Total Hit (2865) |
What the title of this article is talking about? Who is listening? Why should it accept any requests? To answer these questions just imagine that you are going to develop a server application that servers one or many client applications via a network. You'll find out that you know nothing about how
....Read More |
Rating
|
|
|
Sending Data using socket.
|
Total Hit (5260) |
In the previous article we learned the recv Winsock API function which is used to read incoming data from the Winsock buffer. Today we'll see how to write data to the Winsock buffer for sending that data to a remote host. That is, actually, the send Winsock API function is not to send data. It just
....Read More |
Rating
|
|
|
|
|
Binding a socket : Winsock API Test Bench sample application
|
Total Hit (3627) |
Today we will learn how to use the bind Winsock API function that allows to associate a local address with a socket. We'll modify the Winsock API TestBench sample application in order to give the user of the program to specify local host address and port number for a socket.
....Read More |
Rating
|
|
|
End points of the connection
|
Total Hit (3481) |
This part of the tutorial series is about how to use the getpeername and getsockname Winsock API functions in Visual Basic in order to determine parameters of the TCP connection's end-points.
|
Rating
|
|
|
|
|
|
Introduction to the Winsock API Test Bench sample application : Winsock API - Step by step tutorial for the Visual Basic developers
|
Total Hit (4224) |
The second part of the Winsock API tutorial is to introduce the following functions: accept, bind, closesocket, connect, getpeername, getsockname, getsockopt, listen, recv, select, send, setsockopt, socket. We'll learn these functions by creating the Winsock API Test Bench sample application.
....Read More |
Rating
|
|
|
Developing Client-Server Applications with MS Winsock Control
|
Total Hit (2297) |
In this article, I am going to show how to use the Winsock in a client server environment, we will create two separate applications, one of which will be a server and the other will be a client. Both client and server will interact with each other to exchange data. Client will send a request to the
....Read More |
Rating
|
|
|
|
How to track the download progress
|
Total Hit (2550) |
The Internet Transfer Control (ITC) provides us with a very easy way to retrieve web resources. But unfortunately the control doesn't have any means to track the progress of data transfer. It could be nice if the control ...
|
Rating
|
|
|
Sending files inside e-mail messages
|
Total Hit (2163) |
We have published the introduction to UUCode algorithm and tutorial that shows how to add new feature of dealing with attachments to our sample applications Simple MailSender and MailChecker.
|
Rating
|
|
|
|
|
|
|
|
|
|