Unless I'm missing something, this should be very straightforward:

1
2
3
4
5
6
7
let _pinguer vIPadress vTampon vEcheance =
    let ip = stringToTabAdrIP(vIPadress)
    let t = stringToByte(vTampon)
    let e = System.Int32.Parse(vEcheance)
    
    let ip' = new IPAddress(ip)
    pinger.Send(ip',e,t)

Note that the casing is a bit different: in F#, let-bindings are typically written in camelCase rather than PascalCase.

By on 6/2/2009 7:55 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper