Hi Bulut,
Some of the adapters supplied with ESP are built with the toolkit. These adapters consist of modules as illustrated here:
Event Stream Processor Adapter Toolkit
If you look at the CSV Socket Input Adapter's configuration file (%ESP_HOME%\adapters\framework\instances\socket_csv_input\adapter_config.xml), you will see that it consists of four modules (an input transport, two formatters and an ESP connector):
SocketInputTransporter -> StreamToStringFormatter -> CsvStringToEspFormatter -> EspPublisher
After the socket input transporter reads a stream of TCP data, the StreamToStringFormatter needs to somehow identify where one line begins and the next ends so that it can begin to parse the data into columns that can then be published to ESP.
You can see what another user did here with their Socket Server:
Cann't read data from socket csv input adapter
Thanks,
Neal