swiftsocket / SwiftSocket

The easy way to use sockets on Apple platforms
BSD 3-Clause "New" or "Revised" License
1.68k stars 400 forks source link

How to send response to client from udp server #182

Closed akshit5230 closed 4 years ago

akshit5230 commented 5 years ago

Hello. There is no send method for a UDPServer object of this pod so how do i respond to the client which sent me data?

RanguraN commented 4 years ago

Hello. There is no send method for a UDPServer object of this pod so how do i respond to the client which sent me data?

Hello! Tell me how you send a broadcast request to the udp server? I installed a udp client with address "255.255.255.255" and port 3333. Is this the right decision?

Asshasahole commented 4 years ago

Hello. There is no send method for a UDPServer object of this pod so how do i respond to the client which sent me data?

Same question.

akshit5230 commented 4 years ago

I wasted so much time on this pod and then just gave up and switched to the CocoaAsyncSocket pod. It does everything you need.