This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rules = [ | |
[/[aehiouy]/g, ''], | |
[/[йуеёыахоэяиюьъ]/g, ''], | |
[/[с]?тч/g, 'щ'], | |
[/rl/g, 'r'], | |
[/[bfpvw]/g, '1'], | |
[/[бфпв]/g, '1'], | |
[/[cgjkqsxz]/g, '2'], | |
[/[цжкзсг]/g, '2'], | |
[/[dt]/g, '3'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Asynchronous Client Socket Example | |
// http://msdn.microsoft.com/en-us/library/bew39x2a.aspx | |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading; | |
using System.Text; | |
// State object for receiving data from remote device. |
NewerOlder