Questions tagged [nsnetservicebrowser]

41 questions
0
votes
0 answers

NSNetserviceBrowser delegate method is not firing

I am doing one application. In that I am publishing the service using NsNetservice and browse using NSNetserviceBrowser. But sometimes service publish the services successfully, but browser not able to find that service using didFindservice delegate…
user777021
  • 75
  • 2
  • 8
0
votes
1 answer

Bonjour/Cocoa: Is the NSNetServerBrowser still listening if 'moreServicesComing' is NO?

When an NSNetServiceBrowser instance discovers a service, it calls the following method on its delegate: - (void)netServiceBrowser:(NSNetServiceBrowser *)netServiceBrowser didFindService:(NSNetService *)netService…
Greg Maletic
  • 6,225
  • 8
  • 54
  • 73
0
votes
0 answers

Connect to sample SOAP 1.1 with PHP For CEBROKER

I need to connect to CEBroker SOAP web services in php. The SOAP request is: POST /CEBrokerWebService.asmx HTTP/1.1 Host: test.ws.cebroker.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction:…
dev87
  • 154
  • 1
  • 9
0
votes
0 answers

NSNetServiceBrowser can not find service sometimes

The service has been published and I can find it using "dns-sd -B". When I run my app on iphone(ios 9.2/ios 9.3) it can find the service every time but it doesn't work on another iphone(ios 8.4). netServiceBrowserWillSearch is called after…
Gella
  • 1
0
votes
1 answer

Bonjour/NSNetService Data written to NSOutputStream never makes it to the other side (includesPeerToPeer = true)

I have an iOS app that establish a peer-to-peer connection through Bonjour/NSNetService. (based on the WiTap sample code) In some cases, both devices won’t receive data anymore after a few seconds while they are still able to write data out (i.e.…
0
votes
0 answers

Bonjour: Publish a NSNetService in iOS/Objective-C with Service name and type

I have seen that a NSNetService can publish a Bonjour service setting up the service name and the service type. I do: /** Publish this Socket Server on local domain @param serviceName String The service name to publish @param serviceType String…
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
0
votes
1 answer

iOS, getting a 'snapshot' of available Bonjour services

For my iOS app I want to check when starting if there is a specific service advertised using Bonjour and if so connect to that host (instead of a specified URL). I have implemented in my code: if (self.services) { [self.services…
Kostas
  • 367
  • 1
  • 3
  • 17
0
votes
1 answer

Connect to BLE device and send/read data via NSNetService on iOS 7

I have an iPhone app which communicates with external device via NSNetService. Now I want to add support for bluetooth. So I would like to discover and connect to device via bluetooth (BLE) and when connected I would like to send/receive data via…
0
votes
1 answer

Peer-peer connection having different IP Adress

I want to connect devices having different IP Address. For Example: Device A is using Mobile networking and Device B is also using a mobile network .then Is it possible to connect them ?If Yes How ,If no why ?
Jayaprada
  • 944
  • 8
  • 11
0
votes
2 answers

Can I access Documents directory of an iOS device from another iOS device on same wifi network?

I develop an application that uses Bonjour. Each device stores some data in their Documents directory. Each device needs to access each other's data from their Documents directory. Is it possible?
0
votes
2 answers

I have a service that is published in Android. How to browser it in iOS?

We are creating a multi-platform apps for both Android and iOS. Currently, we have a services that is published in Android with these information Type:_http._tcp or _http._udp Name: abcController port Now, I want to browse "abcController" services…
1 2
3