Skip to content

Commit a29998d

Browse files
committed
Cleaning up comments for RfsocTransmitter.cxx
1 parent ec59d95 commit a29998d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/RfsocTransmitter.cxx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
#include <sys/socket.h>
2121
#include <arpa/inet.h>
2222

23-
#define RECEIVE_IP "192.168.3.40" // The receiving computer IP
24-
//#define CONNECT_IP "192.168.3.58" // The drone IP address from which to receive packets
23+
// The ports are currently hardcoded - the IP addresses differ for different drones
2524
#define RECEIVE_PORT 4096
2625
#define CONNECT_PORT 4096
2726

@@ -47,7 +46,6 @@ void RfsocTransmitter::dataTransmit(RfsocPacketPtr rp){
4746
builder_->AsyncDatum(ts.time, rfsoc_sample);
4847
}
4948

50-
// borrowing from Ben's code - just listening for anything on network that arrives at BROADCAST_IP
5149
int RfsocTransmitter::SetupUDPSocket()
5250
{
5351
struct sockaddr_in rx_addr;
@@ -119,7 +117,6 @@ int RfsocTransmitter::Stop()
119117
return (0);
120118
}
121119

122-
//Adapted to use Ben's code, but could go back to DfMuxCollectors's recvfrom
123120
void RfsocTransmitter::Listen(RfsocTransmitter *transmitter)
124121
{
125122
ssize_t len;

0 commit comments

Comments
 (0)