mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
split the socket class into StreamingSocket and DatagramSocket
This commit is contained in:
parent
93e504eb85
commit
29421641be
8 changed files with 568 additions and 186 deletions
|
|
@ -53,7 +53,7 @@ bool InterprocessConnectionServer::beginWaitingForSocket (const int portNumber)
|
|||
{
|
||||
stop();
|
||||
|
||||
socket = new Socket();
|
||||
socket = new StreamingSocket();
|
||||
|
||||
if (socket->createListener (portNumber))
|
||||
{
|
||||
|
|
@ -81,7 +81,7 @@ void InterprocessConnectionServer::run()
|
|||
{
|
||||
while ((! threadShouldExit()) && socket != 0)
|
||||
{
|
||||
Socket* const clientSocket = socket->waitForNextConnection();
|
||||
StreamingSocket* const clientSocket = socket->waitForNextConnection();
|
||||
|
||||
if (clientSocket != 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue