|
Web Directory
![]() ![]() |
Freeware Vaery Shmelev - unofficialFree VB ebookProxy on Visual Basic |
Free Visual Basic ebooksDeploy two Winsock copies on the form. Winsock1 – for the server part and Oflameron for the client part. The server part (Winsock1) receives queries from the Web-browser (for example, Internet Explorer) through the port, for example, 125 and transmits it to the client part. The client part Oflameron (Winsock2) through standard port 80 transmits queries to the real Web-server. VB ebook >>>> Free ebook >>>> Free Visual Basic ebook >>>> Free download >>>> |
||||
|
||||
|
Announce the variable Dim ToServer As String ''To send the query from the client part of Proxy to Web-server Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) ''Processing of incoming data (queries from Web-browser) Dim ServerData As String ''Announce the variable for the received data ServerData Winsock1.GetData ServerData ''Accept data into the variable ToServer = ServerData ''Copy the query into the variable for sending to the Web-server Oflameron_SendToWebserver ''Send the query to the Web-server End Sub Line “ToServer = ServerData” - is not mandatory, it is worthwhile, if it is necessary to process data writing in the log, filter, search for data in queries, substitute information (for example, change URL in downloaded web-pages for one’s own) etc. The entire VB project of this development stage is in the file vbpt1.zip Free Visual Basic ebook >>>> Free VB ebook >>>> Free ebook >>>> Ebook download >>>> Free VB ebooks |
![]() Change Proxy and port settings in Internet Explorer, if you use IE ![]() So that queries were sent to our Proxy ![]() LAN adjustment ![]() Where ![]() Upload the page from the Web-server to Internet Explorer website ![]() Proxy-server operates –sends queries and received data. Visual Basic ebooks This is a working example of a most elementary Proxy-server in the minimal code configuration. It allows to understand important specifics of network programming, create a working copy of the program.
|
Download Ebook Source Code |
![]() ![]() |
|
|