iphone - P2P programing in IOS -
i trying explore witap application.
there 1 function in appcontroller.m
in method applicationdidfinishlaunching.
there method name :-
// create , advertise our server. want service registered on // local networks pass in "local." domain. self.server = [[qserver alloc] initwithdomain:@"local." type:kwitapbonjourtype name:nil preferredport:0];
my problem not able accessing port on different server. please guide me should write in domain , port number.
its showing registering.not showing connection. while if write domain , port able make conection lan connection.
but if write difference ip address not able connection. not firing error not able make connection server
it seems trying use bluetooth. that's not possible more using api. have drop lower level.
if read readme.txt
file in sample code used, see:
the version of witap no longer works on bluetooth; see qa1753 "bonjour on bluetooth on ios 5.0" discussion of why that's case , can it.
if interested in bluetooth p2p networking, consider using hhservices.
Comments
Post a Comment