Questions tagged as 'socket'

1
answer

Some doubts about socket

I'm taking a look at an example from Microsoft itself and I have some questions. Example taken from this link: link Let's imagine a chat environment via socket ... Should I establish a socket connection every time I send a message? Here...
asked by 03.03.2017 / 18:53
1
answer

Problems comparing two IPv6 addresses

I have recently been working on a number of "test-codes" to exercise the "head", specifically codes involving Unix sockets . The most recent code I wrote was a simple server that receives a new connection from one client every 2 seconds. The...
asked by 31.10.2018 / 05:53
1
answer

Async Methods - return string from UDP

I'm developing a code whose purpose is to send a packet with a broadcast string and then read the response (if any), however I want to create a method that just returns the response string. I have the following, based on the example provided by...
asked by 17.10.2017 / 17:05
2
answers

C # Difference between BeginAccept and AcceptAsync

What is the difference between the two asynchronous forms? Which has better performance by handling sockets and handling thousands of connections simultaneously? Example for BeginXXX: link Example for XXXAsync: link     
asked by 12.06.2014 / 00:59
2
answers

Creating buffers in PHP

Personally I need to create a buffer (string) of a dataset (array) to send via socket. In this buffer I want all the attributes of the set that are stored in it, obey its size. Example: If I am going to store an integer value of the data...
asked by 27.07.2015 / 16:37
1
answer

What is and what is the structure sockaddr_in?

Lately I've been wanting to program a network sockets in C ++, but since the materials on the internet are a bit limited, I only show how to program the sockets without explaining in more detail the use of each function. I ended up getting lost...
asked by 26.09.2017 / 23:51
1
answer

Doubts about the operation of the socket.io

I have a doubt regarding the socket.io that I have researched in several places and most of the one rolled or uses obscure terms, but ends up not answering the doubt directly. The question is whether it works in the following way: at the time...
asked by 19.11.2015 / 02:49
1
answer

Socket Multi Thread Server and its Clients talking to each other

I have a question that is killing me and I would like to share it with you, maybe someone has the answer or a way to heal that doubt. I have good experience with Web / Desktop development, API / REST connections and Socket. But all these conn...
asked by 24.05.2016 / 05:03
1
answer

Encapsulate TClientSocket connections in Multithreads [closed]

I have a variable X number of electronic equipment (Meteorological stations) in my local network, each equipment provides a ServerSocket connection with an IP and a specific port, I have an application developed in DELPHI XE5 that connects to al...
asked by 14.10.2014 / 21:11
2
answers

IP Blocking ServerSocket?

I developed a socket system in Delphi. Is it possible to block an IP from connecting to my server? Note: The components: SERVERSOCKET and CLIENTSOCKET were used.     
asked by 17.04.2014 / 03:23