Sponsored Content
Full Discussion: bind source
Top Forums Programming bind source Post 302684671 by balvinder87 on Friday 10th of August 2012 12:10:20 AM
Old 08-10-2012
sorry it was not attached properly to the thread i am attaching the code please check it
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ns1.website.com. admin@website.com. ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like mysite.com IN A 1.2.3.4 So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

2. IP Networking

The third argument of bind()

int bind(int socket, const struct sockaddr *address, socklen_t address_len); Man page says it specifies the length of the sockaddr structure pointed to by the address argument. But why bind() can't figure out the length itself, since the first member (eg:AF_INET or... (4 Replies)
Discussion started by: vistastar
4 Replies

3. Solaris

bind error

Hi, When I use the ldapadd command I get this error. ldap_simple_bind: Conidentiality required ldap_simple_bind: additional info: confidentiality required I was able to use this command and the ldapsearch command yesterday just fine. I think I may have made a change to a file, but I don't... (2 Replies)
Discussion started by: bitlord
2 Replies

4. UNIX for Dummies Questions & Answers

mount --bind

I read it create hard link but I want to be sure, what does this command do exactly? Thank in advance. (1 Reply)
Discussion started by: programAngel
1 Replies

5. Red Hat

BIND configuration

I have problems with a simple BIND configuration in CentOS. I have a static public IP 1.1.1.1 and I recently bought a domain name gigi.com. I just want that gigi.com points to 1.1.1.1 (Apache Web Server). This is how my named.conf file looks: options { directory "/var/named"; }; ... (0 Replies)
Discussion started by: pasadia
0 Replies

6. Red Hat

Bind 9.9.2 not working

Hello friends Internet query not working anymore with bind , i am not using forwarder dns server . 1. resolv.conf file => search local.server nameserver 127.0.0.1 2. named.conf file => // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS... (8 Replies)
Discussion started by: rink
8 Replies

7. UNIX for Dummies Questions & Answers

Configure BIND

I know how to manage DNS once it's installed. I can edit named.conf and create zone files. I can sign the zones, use TSIG, etc. How do I take the BIND 9.9 tar ball from All Downloads | Internet Systems Consortium and install it and get it to work? Maybe I am not getting it. Can... (0 Replies)
Discussion started by: brianjb
0 Replies

8. UNIX for Dummies Questions & Answers

Can't bind to IP

When you get the message can't bind to ip already in use. is there a command to search to see everything that is using that IP? I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies

9. UNIX for Advanced & Expert Users

Bind

Hi All I need to do bind of exiting filesystem to new storage allocated mount --bind /prod/OpenCSS /var/lib/test echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies
ost::SerialService(3)					     Library Functions Manual					     ost::SerialService(3)

NAME
ost::SerialService - The SerialService is a thead service object that is meant to service attached serial ports. SYNOPSIS
#include <serial.h> Inherits ost::Thread, and ost::Mutex. Public Member Functions void update (unsigned char flag=0xff) Notify service thread that a port has been added or removed, or a timer changed, so that a new schedule can be computed for expiring attached ports. SerialService (int pri=0, size_t stack=0, const char *id=NULL) Create a service thread for attaching serial ports. virtual ~SerialService () Terminate the service thread and update attached objects. int getCount (void) Get current reference count. Protected Member Functions virtual void onUpdate (unsigned char flag) A virtual handler for processing user defined update requests (1-254) which have been posted through Update. virtual void onEvent (void) A virtual handler for event loop calls. virtual void onCallback (SerialPort *port) A virtual handler for adding support for additional callback events into SerialPort. Friends class SerialPort Additional Inherited Members Detailed Description The SerialService is a thead service object that is meant to service attached serial ports. Multiple pool objects may be created and multiple serial ports may be attached to the same thread of of execution. This allows one to balance threads and the serial ports they service. The TTYPort and TTYService classes are used to form thread-pool serviced serial I/O protocol sets. These can be used when one has a large number of serial devices to manage, and a single (or limited number of) thread(s) can then be used to service the tty port objects present. Each tty port supports a timer control and several virtual methods that the service thread can call when events occur. This model provides for 'callback' event management, whereby the service thread performs a 'callback' into the port object when events occur. Specific events supported include the expiration of a TTYPort timer, pending input data waiting to be read, and 'sighup' connection breaks. Author: David Sugar dyfet@ostel.com Thread pool service for serial ports. Constructor &; Destructor Documentation ost::SerialService::SerialService (intpri = 0, size_tstack = 0, const char *id = NULL) Create a service thread for attaching serial ports. The thread begins execution with the first attached port. Parameters: pri of this thread to run under. stack stack size. id stack ID. virtual ost::SerialService::~SerialService () [virtual] Terminate the service thread and update attached objects. Member Function Documentation int ost::SerialService::getCount (void) [inline] Get current reference count. This can be used when selecting the lead used service handler from a pool. Returns: count of active ports. virtual void ost::SerialService::onCallback (SerialPort *port) [protected], [virtual] A virtual handler for adding support for additional callback events into SerialPort. Parameters: port serial port currently being evaluated. virtual void ost::SerialService::onEvent (void) [protected], [virtual] A virtual handler for event loop calls. This can be used to extend event loop processing. virtual void ost::SerialService::onUpdate (unsigned charflag) [protected], [virtual] A virtual handler for processing user defined update requests (1-254) which have been posted through Update. Parameters: flag of update request. void ost::SerialService::update (unsigned charflag = 0xff) Notify service thread that a port has been added or removed, or a timer changed, so that a new schedule can be computed for expiring attached ports. This can also be used to pass requests to the OnUpdate() event handler. Parameters: flag event for OnUpdate, termination, or reschedule. Friends And Related Function Documentation friend class SerialPort [friend] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::SerialService(3)
All times are GMT -4. The time now is 11:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy