{"issue":{"milestone":null,"user":{"id":1273998,"login":"CmdShift","url":"https://api.github.com/users/CmdShift","gravatar_id":"080fbbf1412a4810a4c7b2708c748d65","avatar_url":"https://secure.gravatar.com/avatar/080fbbf1412a4810a4c7b2708c748d65?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-19T23:29:55Z","title":"Not Receiving Response - UDP","labels":[],"state":"open","updated_at":"2011-12-20T18:13:29Z","id":2607459,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/robbiehanson/CocoaAsyncSocket/issues/11","body":"Hello,\r\n\r\nI am wondering if you could help;\r\n\r\nI am trying to get a response from my UDP server, I know it is sending one, but I can't for the life of me get the application to notice it.\r\n\r\nMy project is very small at the moment, and is currently just in the AppDelegate, which i have pastebin'd incase you wouldn't mind taking a look.\r\n\r\nhttp://pastebin.com/mUvsqD4B\r\n\r\nHere is the tcpdump:\r\n\r\n03:13:52.876484 IP 192.168.2.36.60524 > ipadrs.28960: UDP, length 25\r\n03:13:52.969327 IP ipadrs.28960 > 192.168.2.36.60524: UDP, length 240\r\n\r\nipadrs being the servers ip.\r\n\r\nI would love any kind of advice, cheers.\r\n\r\nOliver","number":11,"url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/11","comments":4,"assignee":null},"comment":{"user":{"id":1273998,"login":"CmdShift","url":"https://api.github.com/users/CmdShift","gravatar_id":"080fbbf1412a4810a4c7b2708c748d65","avatar_url":"https://secure.gravatar.com/avatar/080fbbf1412a4810a4c7b2708c748d65?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-20T18:13:29Z","updated_at":"2011-12-20T18:13:29Z","id":3222735,"body":"I seem to be having problems getting the logging to work.\n\nstatic const int logLevel = LOG_LEVEL_VERBOSE;\n\nis there, I have removed #if 0, but I am not getting anything, is that not how to enable it, or am I missing something obvious? \n\n-- \nOliver Lumby\n\n\nOn Tuesday, December 20, 2011 at 6:34 PM, Robbie Hanson wrote:\n\n> Try removing the [socket connectToHost...] line. (and change the write appropriately). Connecting isn't required with UDP. See the header file for a full explanation. \n> \n> Also, try enabling logging within GCDAsyncUdpSocket. It will spit out a bunch of log statements describing everything the socket does and sees.. (it uses the lumberjack logging framework) Then send me the logs, and I can better diagnose.\n> \n> -Robbie Hanson\n> Sent from my iPhone\n> \n> On Dec 20, 2011, at 2:34 AM, CmdShift<reply@reply.github.com (mailto:reply@reply.github.com)> wrote:\n> \n> > The tcpdump is client side also netcat from the client returns the expected response.\n> > \n> > On 20 Dec 2011, at 10:49, Robbie Hanson<reply@reply.github.com (mailto:reply@reply.github.com)> wrote:\n> > \n> > > Is this tcpdump from the server side, or the client side (where GCDAsyncUdpSocket is running)?\n> > > \n> > > -Robbie Hanson\n> > > \n> > > \n> > > \n> > > On Dec 19, 2011, at 3:29 PM, CmdShift wrote:\n> > > \n> > > > Hello,\n> > > > \n> > > > I am wondering if you could help;\n> > > > \n> > > > I am trying to get a response from my UDP server, I know it is sending one, but I can't for the life of me get the application to notice it.\n> > > > \n> > > > My project is very small at the moment, and is currently just in the AppDelegate, which i have pastebin'd incase you wouldn't mind taking a look.\n> > > > \n> > > > http://pastebin.com/mUvsqD4B\n> > > > \n> > > > Here is the tcpdump:\n> > > > \n> > > > 03:13:52.876484 IP 192.168.2.36.60524 > ipadrs.28960: UDP, length 25\n> > > > 03:13:52.969327 IP ipadrs.28960 > 192.168.2.36.60524: UDP, length 240\n> > > > \n> > > > ipadrs being the servers ip.\n> > > > \n> > > > I would love any kind of advice, cheers.\n> > > > \n> > > > Oliver\n> > > > \n> > > > --- \n> > > > Reply to this email directly or view it on GitHub:\n> > > > https://github.com/robbiehanson/CocoaAsyncSocket/issues/11\n> > > > \n> > > \n> > > \n> > > --- \n> > > Reply to this email directly or view it on GitHub:\n> > > https://github.com/robbiehanson/CocoaAsyncSocket/issues/11#issuecomment-3216693\n> > > \n> > \n> > \n> > --- \n> > Reply to this email directly or view it on GitHub:\n> > https://github.com/robbiehanson/CocoaAsyncSocket/issues/11#issuecomment-3217110\n> > \n> \n> \n> --- \n> Reply to this email directly or view it on GitHub:\n> https://github.com/robbiehanson/CocoaAsyncSocket/issues/11#issuecomment-3222186\n> \n>","url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/comments/3222735"},"action":"created"}