only open socket if transmitting

pull/39/head
alanbjohnston 6 years ago committed by GitHub
parent 9dbdfa6aa3
commit 3677643478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1250,7 +1250,7 @@ if (firstTime != ON)
// socket write
if (!socket_open)
if (!socket_open && transmit)
{
printf("Opening socket!\n");
struct sockaddr_in address;

Loading…
Cancel
Save

Powered by TurnKey Linux.