Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 19a466aa43e0f0793b72d6a6c3524ff5 > files > 122

ocaml-async_unix-devel-109.24.00-2.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Unix_syscalls.Stats.html">
<link rel="next" href="Unix_syscalls.Protocol_family.html">
<link rel="Up" href="Unix_syscalls.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Async_print" rel="Chapter" href="Async_print.html">
<link title="Async_sys" rel="Chapter" href="Async_sys.html">
<link title="Epoll_file_descr_watcher" rel="Chapter" href="Epoll_file_descr_watcher.html">
<link title="Fd" rel="Chapter" href="Fd.html">
<link title="Fd_by_descr" rel="Chapter" href="Fd_by_descr.html">
<link title="File_descr_watcher_intf" rel="Chapter" href="File_descr_watcher_intf.html">
<link title="Import" rel="Chapter" href="Import.html">
<link title="Interruptor" rel="Chapter" href="Interruptor.html">
<link title="In_thread" rel="Chapter" href="In_thread.html">
<link title="Io_stats" rel="Chapter" href="Io_stats.html">
<link title="Process" rel="Chapter" href="Process.html">
<link title="Raw_fd" rel="Chapter" href="Raw_fd.html">
<link title="Raw_scheduler" rel="Chapter" href="Raw_scheduler.html">
<link title="Raw_signal_manager" rel="Chapter" href="Raw_signal_manager.html">
<link title="Reader" rel="Chapter" href="Reader.html">
<link title="Read_write" rel="Chapter" href="Read_write.html">
<link title="Scheduler" rel="Chapter" href="Scheduler.html">
<link title="Select_file_descr_watcher" rel="Chapter" href="Select_file_descr_watcher.html">
<link title="Shutdown" rel="Chapter" href="Shutdown.html">
<link title="Signal" rel="Chapter" href="Signal.html">
<link title="Signal_manager" rel="Chapter" href="Signal_manager.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="Syscall" rel="Chapter" href="Syscall.html">
<link title="Thread_pool" rel="Chapter" href="Thread_pool.html">
<link title="Thread_safe" rel="Chapter" href="Thread_safe.html">
<link title="Thread_safe_pipe" rel="Chapter" href="Thread_safe_pipe.html">
<link title="Unix_syscalls" rel="Chapter" href="Unix_syscalls.html">
<link title="Writer" rel="Chapter" href="Writer.html"><title>Unix_syscalls.Inet_addr</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Unix_syscalls.Stats.html" title="Unix_syscalls.Stats">Previous</a>
&nbsp;<a class="up" href="Unix_syscalls.html" title="Unix_syscalls">Up</a>
&nbsp;<a class="post" href="Unix_syscalls.Protocol_family.html" title="Unix_syscalls.Protocol_family">Next</a>
</div>
<h1>Module <a href="type_Unix_syscalls.Inet_addr.html">Unix_syscalls.Inet_addr</a></h1>

<pre><span class="keyword">module</span> Inet_addr: <code class="code">sig</code> <a href="Unix_syscalls.Inet_addr.html">..</a> <code class="code">end</code></pre><hr width="100%">

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = <code class="type">Core.Std.Unix.Inet_addr.t</code> </pre>


<pre><span class="keyword">include</span> Comparable.S</pre>

<pre><span id="VALof_string"><span class="keyword">val</span> of_string</span> : <code class="type">string -> <a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre><div class="info ">
same as <code class="code">Core.Unix</code><br>
</div>

<pre><span id="VALto_string"><span class="keyword">val</span> to_string</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> -> string</code></pre>
<pre><span id="VALbind_any"><span class="keyword">val</span> bind_any</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre>
<pre><span id="VALbind_any_inet6"><span class="keyword">val</span> bind_any_inet6</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre>
<pre><span id="VALlocalhost"><span class="keyword">val</span> localhost</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">127.0.0.1</code><br>
</div>

<pre><span id="VALlocalhost_inet6"><span class="keyword">val</span> localhost_inet6</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre><div class="info ">
(<code class="code">::1</code>)<br>
</div>

<pre><span id="VALof_string_or_getbyname"><span class="keyword">val</span> of_string_or_getbyname</span> : <code class="type">string -> <a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Import.Deferred.t</code></pre><div class="info ">
<code class="code">of_string_or_getbyname hostname</code> does a DNS lookup of hostname and returns the
      resulting IP address.  The implemenation sequentializes all calls so that only a
      single call is active at a time.  The is because we've observed thread safety issues
      with certain versions of winbind using "wins" name resolution.<br>
</div>

<pre><span id="VALcompare"><span class="keyword">val</span> compare</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> -> <a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> -> int</code></pre>
<pre><span id="VALt_of_sexp"><span class="keyword">val</span> t_of_sexp</span> : <code class="type">Sexplib.Sexp.t -> <a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a></code></pre>
<pre><span id="VALsexp_of_t"><span class="keyword">val</span> sexp_of_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> -> Sexplib.Sexp.t</code></pre>
<pre><span id="VALbin_t"><span class="keyword">val</span> bin_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Type_class.t</code></pre>
<pre><span id="VALbin_read_t"><span class="keyword">val</span> bin_read_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Read_ml.reader</code></pre>
<pre><span id="VALbin_read_t_"><span class="keyword">val</span> bin_read_t_</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Unsafe_read_c.reader</code></pre>
<pre><span id="VALbin_read_t__"><span class="keyword">val</span> bin_read_t__</span> : <code class="type">(int -> <a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a>) Core.Std.Bin_prot.Unsafe_read_c.reader</code></pre>
<pre><span id="VALbin_reader_t"><span class="keyword">val</span> bin_reader_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Type_class.reader</code></pre>
<pre><span id="VALbin_size_t"><span class="keyword">val</span> bin_size_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Size.sizer</code></pre>
<pre><span id="VALbin_write_t"><span class="keyword">val</span> bin_write_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Write_ml.writer</code></pre>
<pre><span id="VALbin_write_t_"><span class="keyword">val</span> bin_write_t_</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Unsafe_write_c.writer</code></pre>
<pre><span id="VALbin_writer_t"><span class="keyword">val</span> bin_writer_t</span> : <code class="type"><a href="Unix_syscalls.Inet_addr.html#TYPEt">t</a> Core.Std.Bin_prot.Type_class.writer</code></pre><br>
same as <code class="code">Core.Unix</code><br>
<br>
<code class="code">127.0.0.1</code><br>
<br>
(<code class="code">::1</code>)<br>
<br>
<code class="code">of_string_or_getbyname hostname</code> does a DNS lookup of hostname and returns the
      resulting IP address.  The implemenation sequentializes all calls so that only a
      single call is active at a time.  The is because we've observed thread safety issues
      with certain versions of winbind using "wins" name resolution.<br>
</body></html>