Cocoa NSOutputStream send to a connection

后端 未结 1 820
北荒
北荒 2021-01-24 02:57

I am new to Cocoa, but managed to get a connection (to a FTP) up and running, and I\'ve set up an eventhandler for the NSInputStream iStream to alert every response (which also

相关标签:
1条回答
  • 2021-01-24 03:31

    Okay, so 10 hours 28 views and no answers/comments, but that's OK, because I just solved it with some good help from a very very friendly irssi coder (no butt licking intended ;)).

    He proposed that I tried to std::endl'e it (newline + flush), and so I tried simply adding the newline char (\n, 0x0A) and it worked perfectly!

    0 讨论(0)
提交回复
热议问题