1
0
Fork 0
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:
jules 2007-08-24 16:51:01 +00:00
parent 93e504eb85
commit 29421641be
8 changed files with 568 additions and 186 deletions

View file

@ -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)
{