Delphi Socket Example

Delphi tutorial Client server application This is Delphi Tutorial about client-server application, and as usual you can find here sourc. leandrosilva / Client. com offers free software downloads for Windows, Mac, iOS and Android computers and mobile devices. Same with any chat client like gtalk or skype. Socket Workbench is the definitive tool for analysing socket communications that underlie the Internet and several types of inter-process Commercial 4. IP & Socket Monitor is a toolbox to monitor and control IP and Socket activities of Windows applications. Chat Room Socket (Delphi) Description This example builds a Chat Room using sockets components. The parameter do_handshake_on_connect specifies whether to do the SSL handshake automatically after doing a socket. Point will be added to your account automatically after the transaction. Hi there folks i am having this annoying problem with the socket. Indy is an open source client/server communications library that supports TCP/UDP/RAW sockets, as well as over 100 higher level protocols including SMTP, POP3, IMAP, NNTP, HTTP, FTP, and many more. 03 18:40--Delphi P2P Socket Library. NET, and Kylix. Socket object as TCP client. The server creates threads upon the Clients request, and will wait a specified duration during the thread execution. Client / Server TCP/IP and UDP Communication component library to create TCP/IP Client/Server socket applications that communicate across a network. I was a guest on X-Keys 5 Minute Friday showing off an integration between OBS Studio with the X-Keys XK-24 USB Keypad. The Client Socket Program is a Windows based application. In the next few minutes, you will see that Java makes it easy to develop networking applications as Java was built for the Internet. Once you've moved your email accounts to GMail (or even entire domains), you have to fix the code you use in your Delphi programs for generating and sending email automatically. posted 16 Jul 2010, 18:22 by Delphi Basics [ updated 4 Sep 2010, 21:37] Using uThread and uList as replacement for the Classes unit, this socket unit is lightweight and advanced. Sockets are the fundamental "things" behind any kind of network communications done by your computer. With the following example codes: If the email couldn't be delivered to recipient, a non-delivery report will be sent to [email protected] io setup enables this - no. That is, sockets of the type SOCK_RAW provide access to the link layer of the IP layer of the TCP/IP network. Required Delphi Expert have much experience in TCP/UDP Network Client / Server Application. Asynchronous Client Socket Example. Comes with many Delphi examples. Winshoes is open sourced. Chat Room Socket (Delphi) Description This example builds a Chat Room using sockets components. The name also refers to the Delphi IDE, which is used to help edit and debug Delphi projects more efficiently. Examples are given in C, Python, and Java. Hi - I’m new to network socket code under the J2ME on the CRIO this year. If everything works, you should now be able to turn the LED on and off using the buttons in the app. Passing this option is the. However, its output is significantly more. For example, you might want to find out the IP address and port number for each end of the stream with getsockname and getpeername, or set socket options with setsockopt. Individual and ganged socket contacts, for reliable connections between the PCB and pluggable or modular devices. The SDL Component Suite for Delphi contains 28 Delphi units covering a wide range of applications in science and engineering, e. Client Socket Program. Building Socket Applications. Delphi Basics - Free Delphi Source Code - Ultimate Programming Resource‎ > ‎Delphi Basics Snippets‎ > ‎ Simple TCP Sockets Chat Example posted 23 Jan 2010, 05:42 by Danny Rancher [ updated 8 Jun 2010, 19:12 by Delphi Basics ]. The Client Socket Program is the continuation of the Server Socket Program. 54 kB) Need 1 Point(s) Your Point (s) Your Point isn't enough. Python had been killed by the god Apollo at Delphi. If the initiating socket is not connection-mode, then connect() shall set the socket's peer address, and no. CodeGear is in the process of putting the Delphi documentation on the Web. To build the example, follow the instructions: Install the socket components. For example, any socket option set by the setsockopt() function on one of the descriptors is subsequently visible using the getsockopt() function from any or all descriptors. Automatic file version check over the web (example program) Corbin Dunn. com in your web browser, it opens a socket and connects to google. Socket object as TCP client. Delphi Examples: Copy Code. C Socket Server example, with semaphores, signal handling This is a quick program that combines various examples from the GNU/Linux Application Programming book I have been studying. This class will allow you to keep. Hi - I’m new to network socket code under the J2ME on the CRIO this year. Delphi-C++Builder List Page 0 CodeBus is the largest source code and program resource store in internet!. The Love-Hate affair. the client application sends strings to the server on button click and write the server response to a memo. NET Preview from Mastering Delphi 7. lNet currently consists of 4 parts: 1. Though this problem could originate in multiple different spots, check out your headlight socket for corrosion or wear and tear. You can have all kinds of system. CalendarAlerts. Let's look at a simple example that illustrates how a program can establish a connection to a server program using the Socket class and then, how the client can send data to and receive data from the server through the socket. Complete with client-server select example The Windows socket select client-server step-by-step program example. TCP/IP, Sockets links. Client Socket Program. Read more. Capitulo 10. Webserver example. Note If you plan to build an advanced web server or other Internet servers with Delphi, then as an alternative to the Indy components, you should look at the DXSock. Get the job done with the right part at the right price. Tutorial: Creating a threaded socket server and client application. Using sockets in applications. Either the asker is pointed to Indy (where examples are outdated, i. This project not using asynchronous sockets! The Project contains simple low level non-visual objects for easiest programming without problems. All package names are followed by X0 (where X0 is your Delphi/C++Builder/RAD Studio product version). The socket actually inherits every method of the Emitter class, like hasListeners, once or off (to remove an event listener). Agents • System for moving objects from machine to machine like mobile agents. very basic demo of a client - server application using INDY 10 components ( TIdCmdTCPServer , TIdCmdTCPClient ). These Delphi interview questions and answers cover basic as well as many advanced questions. Features include syntax highlighting for a variety of programming languages and a macro recorder. Can I using other window's application (written in Delphi, for example) to connect this java socket and send information to, or receive response from this java application?. Indy is an open source client/server communications library that supports TCP/UDP/RAW sockets, as well as over 100 higher level protocols including SMTP, POP3, IMAP, NNTP, HTTP, FTP, and many more. I know this has been asked before but no one ever answers the question. The socket is a seamless one piece tubular part without slots or other traditional means to provide the spring action. Delphi VTI. You can follow any responses to this entry through the RSS 2. Normally when you send data through sockets using Node's net package, you need to worry about data chunking and multiple messages in one chunk. Accept Connection on Socket; TCP/IP Socket Connect to Remote Host:Port; TCP Socket Connect through HTTP Proxy; Receiving a String; Socket Select for Reading; Debugging with Socket Session Logging; Socket/SSL/TLS through SOCKS5 / SOCKS4 Proxy; SSL Client Example; TCP or TLS over Multiple Hop SSH to. Sending Files : The programs allow a user to send and recieve a file using both programs using Simple Delphi client and server sockets and filestreams. If it's time to replace your headlight socket or tail light socket, turn to AutoZone for the best sockets available. I created a script that assigns F13 through F24 with and without the CTRL modifiers to the XK-24. Same with any chat client like gtalk or skype. Project Tutorials. Installing TClientSocket and TServerSocket components for BDS2006 / Delphi 2007 / C++Builder 2006 / C++Builder 2007 Abstract: This article shows how to install the TClientStocket and TServerSocketcomponents, in the family of the products collectively known as BDS 2006, CodeGear Delphi 2007 and CodeGear C++Builder 2007. The example program implements a client, EchoClient, that connects to an echo server. English, French, German and Japanese A Double Layer (dual layer) high capacity DVD is required for burning a physical disc. Pawel demonstrates practical steps for building jQuery Mobile web frontend application for displaying InterBase XE "Employees" database data from a standalone Delphi DataSnap server. - Answered by a verified Programmer. Since VB does not support creation of objects, Winshoes is a collection of routines that return handles. The information here can help you with your Windows Sockets (WinSock) application development. Client Socket Program. What is the normal way people writing network code in Delphi use Windows-style overlapped asynchronous socket I/O? Here's my prior research into this question: The Indy components seem entirely synchronous. >I'm using nonBlocking mode. Delphi 7 ships with two sets of TCP components—Indy socket components (IdTCPClient and IdTCPServer) and native Borland components—which are also available in Kylix and are hosted in the Internet page of the Component palette. io in construct but the send action of the plugin doesnt work. 1 Collection of most wanted Delphi examples with full source code and animated tutorials as a standalone application. TCustomWinSocket does not have any useful events or methods, so I want to assign control of the underlying socket to a TClientSocket. The system described is based on the "Delphi WebBroker jQuery Mobile Boilerplate" project described in the previous Delphi Labs tutorial. if any one know of any good resource site or has some same code. Asynchronous Client/Server Socket Example with C# (from MSDN library) - Client. This tutorial provides source code and explanations of how to create a threaded socket server (and a complimentary client application). I'm using XAMPP on Windows 7 to run the PHP server locally. In this example, 2 simple Java TCP/IP server and client socket applications are created. Delphi ActiveX Examples. Typical system configuration places the server on one machine, with the clients on other machines. js open source module on npm. 1 Delphi Database Tutorial with full source code and animated tutorials. This feature is not available right now. WebSocket and HTTP Support. (Note: I experienced some problems with this version, I made some changes to it and will including it in the source files) There are various. Normally when you send data through sockets using Node's net package, you need to worry about data chunking and multiple messages in one chunk. Skip to content. js open source module on npm. Launch the example "Arduino LED On/Off TCP" from the Workbench window. My (rather slack) approach was to create a hidden form, even in console applications. To build the example, follow the instructions: Install the socket components. WebSocket client applications use the WebSocket API to communicate with WebSocket servers using the WebSocket protocol. ADONTEC offers client server TCP/IP communications tools and class library - telnet. If it succeeds, it will return when it does. The idea is to enable the clients to send some textual data to the server. Delphi socket components (wrappers for the Winsock) streamline the creation of applications that communicate with other systems using TCP/IP and related protocols. ReceiveText - posted in Programming: I have a ClientSocket that sends text commands by pressing different buttons (one example):procedure TfrmClient. I have a lot of time looking for a suitable example for this, but could not find it. I hope it is very helpful. I have not found that events are supported for the delphi d. An archive of the CodePlex open source hosting site. If you aren't looking for a full SoapUI testing tutorial, you can find smaller, more specific examples from web services you are familiar with, below. Set of ten Delphi database tutorials ranging from a simple to a more complex ones. Download code Note: Due to the size or complexity of this submission, the author has submitted it as a. Delphi 7) or are missing components. pyzmq code and examples There is one difference from zmq. Create a VCL Forms Application and save it as Server. Tutorials based on Access database file. Socket Faça. NET TCP/IP and UDP/IP sockets client/server component for communication across a network such as the internet or intranet (LAN). IPWorks WS includes client, server, and proxy components for building and connecting to WebSockets based applications, commonly developed and delivered through HTML5. A socket is like a phone connection that carries a conversation. MarshallSoft Delphi serial communication component library (DLL) for serial port communications. The SDL Component Suite for Delphi contains 28 Delphi units covering a wide range of applications in science and engineering, e. socket vb6. You can leave a response, or trackback from your own site. We will also see how to create a client application that will send messages to a listener server and read it using Sockets. NET sockets to establish communication between a server and one or more clients that does without the fluff. Embarcadero RAD Studio, Java. Two VCL classes, TClientSocket and TServerSocket, allow you to create TCP/IP socket connections to communicate with other remote applications. With socket zmq. I was wanting to use sockets and i am using pascal. Download this example from Borland CodeCentral. Delphi and Builder Resource Center - serversocket1 Socket Connections - Search quickly for serversocket1 Socket Connections components, downloads, tips, coding, forum, chat, news, message boards, articles etc. Delphi socket components (wrappers for the Winsock) streamline the creation of applications that communicate with other systems using TCP/IP and related protocols. In Greek mythology, Python is the name of a a huge serpent and sometimes a dragon. It should be a string in the OpenSSL cipher list format. C# (CSharp) WebSocketClient - 30 examples found. A Windows Sockets-compliant application that wishes to use raw sockets should attempt to open the socket with the socket() call (see section 4. English, French, German and Japanese A Double Layer (dual layer) high capacity DVD is required for burning a physical disc. If select() returns 0, it timed out, which in this case means the socket is not readable because it has no pending data, not even a graceful disconnect. Accept Connection on Socket; TCP/IP Socket Connect to Remote Host:Port; TCP Socket Connect through HTTP Proxy; Receiving a String; Socket Select for Reading; Debugging with Socket Session Logging; Socket/SSL/TLS through SOCKS5 / SOCKS4 Proxy; SSL Client Example; TCP or TLS over Multiple Hop SSH to. Delphi and Builder Resource Center - serversocket1 Socket Connections - Search quickly for serversocket1 Socket Connections components, downloads, tips, coding, forum, chat, news, message boards, articles etc. The purpose of a raw socket is absolutely different. NET, and Kylix. Indy is an open source client/server communications library that supports TCP/UDP/RAW sockets, as well as over 100 higher level protocols including SMTP, POP3, IMAP, NNTP, HTTP, FTP, and many more. WebSockets represent a long awaited evolution in client/server web technology. Once you've moved your email accounts to GMail (or even entire domains), you have to fix the code you use in your Delphi programs for generating and sending email automatically. TIdUDPClient is the base UDP client for sending UDP packets to other destinations. An example of a client socket added to a form is shown in Figure 1. All you have to do is to call only one function to get a stream socket ready to accept connections for server apps and ready to connect to another machine for client apps. This can be useful to you for a number of reasons: To capture traffic between a client and server. Familiar applications, such as ping, traceroute, and other low-level programs, use this intimacy provided by raw sockets. sgcWebSockets includes client and server-side implementations of the WebSocket protocol (RFC 6455). C# using Visual Studio on Windows is a great language to learnlearn. Articles and Tutorials. Delphi project - transfer files - socket - client and server - hide ip conection with tunneling. Indy Soap • Open Source Library for implementing Web Services using Borland. For example, all my team did was use a socket wrench with a 1/2in socket and put it on the end of our climber hex shaft. Comes with many Delphi examples. Find many great new & used options and get the best deals for Mastering Delphi 7 by Marco Cantù (2003, Paperback) at the best online prices at eBay! Free shipping for many products!. But it is not portable FreePascal/Lazarus too even though I start with Delphi 2007. This class permits the creation of an additional thread (alongside the main thread) in a simple way. Use the Close(Int32) method to release all resources associated with the TcpClient. Sockets Tutorial This is a simple tutorial on using sockets for interprocess communication. IO P2P provides an easy and reliable way to setup a WebRTC connection between peers and communicate using the socket. The Client / Server Communications Library (CSC) uses the Winsock/sockets API to provide the capability to quickly develop Client/Server TCP/IP or UDP software applications. Automatic file version check over the web (example program) Corbin Dunn. W3Schools is optimized for learning, testing, and training. Adding a simple piece of middleware to your socket. very basic demo of a client - server application using INDY 10 components ( TIdCmdTCPServer , TIdCmdTCPClient ). These notes apply to Delphi running on a Microsoft Windows platform. This can be useful to you for a number of reasons: To capture traffic between a client and server. Grab a copy of phpwebsockets which is a WebSocket server in PHP. a simple TCP Port Checker using socket. I have an application that I am migrating from XE5 and it seems that these components have disappeared. The Road to Delphi Delphi - Free Pascal - Oxygene. 1 Berlin Starter Edition). Web API Categories ASN. Delphi has a ClientSocket component which supports a client connection to a server. eSeGeCe products have EUR prices. Net,Delphi,PHP. The socket actually inherits every method of the Emitter class, like hasListeners, once or off (to remove an event listener). The example program implements a client, EchoClient, that connects to an echo server. It is a very simple protocol (and very similar to XML-RPC), defining only a few data types and commands. To build the example, follow the instructions: Install the socket components. AcronHub is a Delphi Open Source Application designed for Filesharing over the net ,serving with simplicity in mind thousounds of users from all over the world. C++ Socket Links. Socket Tutorial für Delphi. write, and close socket events, for example. If it fails, it will raise an exception. This tutorial provides source code and explanations of how to create a threaded socket server (and a complimentary client application). We will also see how to create a client application that will send messages to a listener server and read it using Sockets. Browse other questions tagged sockets delphi text buffer delphi-7 or ask your own question. With sockets, you can read and write over connections to other machines without worrying about the details of the underlying networking software. The most comprehensive suite of components for professional Internet development. Socket Delphi Example Codes and Scripts Downloads Free. 0 outer thread. Learn openGL through Delphi examples. Open socket ? General. Articles Indy components - UDP client-server (chat) Indy (Internet Direct) components are used for network client-server communication in Delphi & C++ Builder applications. Get 22 Point immediately by PayPal. It makes it easy to send JSON over TCP in Node. First I was trying to use sockets. For sending it is more complicated and depends on the socket type. So the delphi server works and it is able to recieve data through tcp with socket. An example of a client socket added to a form is shown in Figure 1. NET TCP/IP and UDP/IP sockets client/server component for communication across a network such as the internet or intranet (LAN). A raw socket allows an application to directly access lower level protocols, which means a raw socket receives un-extracted packets (see Figure 2). 1, because the. CalendarAlerts. Hello world/Web server You are encouraged to solve this task according to the task description, using any language you may know. Building Socket Applications. One thread listens to a socket, and if it recieved packet he make processing thread. Los Sockets son los conectores que se emplean para establecer una conexión (Valga la redundancia) de red. Howdy, Stranger! It looks like you're new here. 8-21,Automobile Connector Delphi,Ip68 Waterproof Electrical Plug Socket,4-pin Cable Connector Plug from Connectors Supplier or Manufacturer-Shenzhen Deruibo. delphi - receiveasync - c# socket receive example. Applied to testing web. Since VB does not support creation of objects, Winshoes is a collection of routines that return handles. The Love-Hate affair. Version 1 Is used to read from the console. It is not difficult, just find an example to start with. 1 Delphi Database Tutorial with full source code and animated tutorials. That can be a problem for the client if it does not know up front how many bytes of data it has to read from the socket to recover all the data sent by the communication partner. Delphi Indy 10 and 9 demos for reference. Almost everything you see in your browser is transmitted to your computer over HTTP. To build the example, follow the instructions: Install the socket components. SmartThreadLib example: Using blocking Indy sockets in a thread Problem/Question/Abstract: This is an example on how to use the SmartThreadLib. Asynchronous Client/Server Socket Example with C# (from MSDN library) - Client. Free applications and components with source code. **Note: This Is A Copyrighted Etext, Please See Below** Released now as Alpha Test by popular demand for Email Tutorial **Welcome To The World of Free Plain Vanilla. Cette version est la version1. SMTP/POP3 Email Engine for Delphi v. Typical system configuration places the server on one machine, with the clients on other machines. ocr face recognition delphi ; RTSP Server source. is there an Arduino example for Delphi? - Page 3. Capture (Indy 10?) 7. The purpose of a raw socket is absolutely different. It is to be used with the example from TTcpServer section. The Tutorial assumes you have Delphi 7, but it should work the same in other Delphi versions. This is a short description in the author block about the author. Blocking sockets have been repeatedly attacked with out warrant. The first section of this page will let you do an HTML5 WebSocket test against the echo server. Delphi tutorial Client server application http://xkobyx. TCustomWinSocket does not have any useful events or methods, so I want to assign control of the underlying socket to a TClientSocket. Launch the example "Arduino LED On/Off TCP" from the Workbench window. August 30, 2011 Computing, Development, Tools Marc Durdin. Asynchronous Client/Server Socket Example with C# (from MSDN library) - Client. Documentation on languages such as C#, Entity Framework, SQL, and a lot of more!. It is very helpful in learning Delphi Programming Language. SSH/Telnet client, sending emails, downloading files, OAuthv1 examples. Why use SoapUI Pro for Web Service Testing? While the Open Source version can be seen as the Swiss-Army knife for testing, SoapUI Pro is the tool with the sharpest edge. Using sockets in applications. Socket – Actualización en tiempo real php, mysql y jquery November 6, 2018 Martin Flores Comments Actualización en tiempo real utilizando sockert en php, complementando con mysql para guardar mensajes y jquery. You will find them in their own documentation but they are also accessible from here. In these examples you can find different ways of creating simple proxy socket servers. SocketSniff allows you to watch the Windows Sockets (WinSock) activity of the selected process. Free applications and components with source code. This shows the basics such as binding, listening and accepting sockets for Servers and connecting sockets for clients. 0 OpenGL Coordinates Tutorial with full Delphi Source Code. Note If you plan to build an advanced web server or other Internet servers with Delphi, then as an alternative to the Indy components, you should look at the DXSock. This is a variety of examples that cover the entire range of the Qt Bluetooth API. Mouser is an authorized distributor for many relay socket and hardware manufacturers including Fujitsu, Magnecraft, Omron, Panasonic, Phoenix Contact, Schneider Electric, TE Connectivity & more. delphi sockets free download The tool is based on an educational program with examples and exercises (from biorhythm, REST services , form building to how math works). Can anybody help me fix this so it compiles and works as described or point me to another basic fpc socket example that works? I just need a basic console based framework that can send bytes from a client to server and back without using external libraries. Installing TClientSocket and TServerSocket components for BDS2006 / Delphi 2007 / C++Builder 2006 / C++Builder 2007 Abstract: This article shows how to install the TClientStocket and TServerSocketcomponents, in the family of the products collectively known as BDS 2006, CodeGear Delphi 2007 and CodeGear C++Builder 2007. Delphi's compilers generate native code for Microsoft Windows, macOS, iOS, Android and Linux (x64 only). WebSockets represent a long awaited evolution in client/server web technology. Try to study Indy, then Synapse or mORMot may be. Example attached. It is very helpful in learning Delphi Programming Language. The information here can help you with your Windows Sockets (WinSock) application development. Version 1 Is used to read from the console. Indy Sockets: an example of how to not distribute software libraries August 30, 2011 Computing , Development , Tools Marc Durdin Indy Sockets is a library of network components for Embarcadero Delphi, which has been included in the Delphi distribution for many years now. In this ESP32 tutorial we will check how to send data with a socket client on the Arduino core. XML and Delphi Stock Demo - Steps 1 to 4; Let's take an example: A list of books that you would want to display, for instance, could be shown in a paragraph listing the book name, the author and an abstract. Blocking is NOT Evil. Delphi VTI. This example will show you how to use node js to implement TCP socket client server communication. 4 TCP socket server example 2 / Published in 'The underlying socket have probably. For example, you might have been developing an application since Delphi 3, moving forward through various versions. NET, Visual Basic, VB. Portable applications should close the socket and create a new one for reconnecting. The most common use is with SOCK_DGRAM sockets, but if you plan to write a routing daemon or modify some existing one, you will probably need to use SOCK_RAW ones. Show all news. I am looking for a. But there are no public. Delphi Program Switch Silver Dimmer & Sockets with Frame Flush-Mounted In-Wall | eBay. The most comprehensive suite of components for professional Internet development. Skills: C# Programming, Delphi See more: delphi tcp client/server example, delphi socket example, c# socket file transfer, transfer file from client to server using sockets using c#, file transfer in c# windows application, file transfer using tcp in java, file transfer using socket programming in. The current file text line is parsed into the given. 2 can be switched to socket communications easily. Relay Sockets & Hardware are available at Mouser Electronics from industry leading manufacturers. Use TTcpClient to create TCP client applications. All of the data transfer is done with a blocking socket inside of a thread. " Creating Web server applications. The ciphers parameter sets the available ciphers for this SSL object. I have a lot of time looking for a suitable example for this, but could not find it. For example, when you opened this article page, your browser probably have sent over 40 HTTP requests and received HTTP responses for each. Since VB does not support creation of objects, Winshoes is a collection of routines that return handles. Discover open source packages, modules and frameworks you can use in your code. It should be a string in the OpenSSL cipher list format. Send/Receive text with buffer using sockets in Delphi. For more information on sockets, see "Working with sockets. dll Delphi Tutorial - Setting File Summary Info Shows you how to to change file summary information using StgOpenStorageEx found in ole32. During the weekend I needed some tool: Have to be able to listen on some port and to do something "useful". (ActiveConnections vem do objeto S_Server através do WITH). The socket actually inherits every method of the Emitter class, like hasListeners, once or off (to remove an event listener). A Windows Sockets-compliant application that wishes to use raw sockets should attempt to open the socket with the socket() call (see section 4. com/ This is Delphi Tutorial about client-server application, and as usual you can find here. This tutorial provides an introduction to using UDP sockets over the IP network (IPv4). The clients connect to the server, exchange information, and then disconnect. In my Delphi App I cannot activate a TIdHttpServer on the same port as the TIdWebsocketServer. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. The most comprehensive suite of components for professional Internet development. ru (currently offline but there are links to mirrors of the site) I think it is the biggest collection of delphi on internet. Delphi Indy 10 and 9 demos for reference. 13), that accepts connections on a specific port and sends over TCP a "temperature" value, which at the moment I am. In our discussion of sockets, we covered an example of programming with connection-oriented sockets: sockets that use the TCP/IP protocol. When the server sends back a file, its reply should indicate both what it is going to send back and the actual information. For sending it is more complicated and depends on the socket type. 0 OpenGL Coordinates Tutorial with full Delphi Source Code. Open socket ? General. Hi everyone this is my first code snippet so be gentle. 2 can be switched to socket communications easily.