What is the easiest way (preferably without using third-party frameworks) in lens c, set up a simple server that listens for socket connections and reads data from clients line by line.
ie Ideally, you just need to create an instance of the "server" object, which will transmit the "client" objects back to which incoming data messages are received.
This question has been open for a long time. There seems to be no standard way to do this. I ended up just writing native Objective-C code to port C
"", , .m .h , , , , , t .
- Cocoa
, , .
, TcpListener() Google , . , Java.
Source: https://habr.com/ru/post/1717601/More articles:Почему сравнение и empty() ведут себя так на PHP? - syntaxJ ++ for Java: how to port from RNI to JNI? - javaOCaml: check list of membership entries - listTinyMCE or SmartGWT Rich Text Editor for my GWT application? - javaIs it possible to convert a list of PHP function parameters to an array? - functionWhat was the first "hobby" programming language? - programming-languages | fooobar.comJava Wi-Fi Information - javaHow to programmatically access the most frequently used programs in the OS and the latest program files? - c ++How to redirect a port to a router using python - pythonUnstructured text analysis in Python - pythonAll Articles